using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Core.Utilities;
using VOL.Entity.DrugViewing;

namespace VOL.SmartMecial.IServices.DrugViewings
{
    public interface IDrugViewingService
    {
        /// <summary>
        /// 药品入库查找药品名称
        /// </summary>
        /// <param name="drugName"></param>
        /// <returns></returns>
        Task<WebResponseContent> QueryDrugViewing(string? drugName);
        /// <summary>
        /// 药品入库
        /// </summary>
        /// <param name="drug"></param>
        /// <returns></returns>
        Task<string> AddDrugViewing(DrugViewingModel drug);
        /// <summary>
        /// 药品入库--编辑 
        /// </summary>
        /// <param name="drug"></param>
        /// <returns></returns>
        Task<string> UpdDrugViewing(DrugViewingModel drug);

    }
}
